export default {
  install(Vue) {
    Vue.directive('focus', {
      inserted: function (el) {
        el = el.querySelector('input')
        console.log(el)
        el.focus()
      }
    })
  }
}
